package com.hphs.model;

import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

//实体对象
@Data
public class Category {
    @Alias("编号")
    private Integer id;
    private String name;
    private String img;
    private Integer seq;
    private Integer status;
    @Alias("父id")
    private Integer parentId;
    @Alias("最近修改人")
    private String lastUpdateBy;
    @Alias("最近修改的时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastUpdateTime;


}
